$OpenBSD: patch-sysdep_h,v 1.2 2011/11/11 20:08:40 jasper Exp $
--- sysdep.h.orig	Fri Nov 11 20:49:39 2011
+++ sysdep.h	Fri Nov 11 20:50:09 2011
@@ -670,7 +670,8 @@
 #endif
 
 #ifndef MSDOS	/* maximum path length (including '\0') */
-# define FILESIZE	256
+# include <sys/param.h>
+# define FILESIZE	MAXPATHLEN
 #else /* MSDOS */
 # define FILESIZE	128	/* currently, 2+1+64+3+1+3+1 == 80 ought to be OK */
 #endif /* MSDOS */
